package com.his.util;

import com.his.model.Schedule;

import java.util.ArrayList;
import java.util.List;

public class StaticDataUtil {

    public static List<String> Days(){
        List<String> strings = new ArrayList<>();
        strings.add("星期一");
        strings.add("星期二");
        strings.add("星期三");
        strings.add("星期四");
        strings.add("星期五");
        strings.add("星期六");
        strings.add("星期日");
        return strings;
    }

    public static List<String> Times(){
        List<String> strings = new ArrayList<>();
        strings.add("上午");
        strings.add("下午");
        return strings;
    }

    public static List<String> DayAndTime() {
        ArrayList<String> schedules = new ArrayList<>();
        for (String day : StaticDataUtil.Days()) {
            for (String time : StaticDataUtil.Times()) {
                schedules.add(day+time);
            }
        }
        return schedules;
    }



}
